include_directories(${CMAKE_CURRENT_LIST_DIR})

set(CSERIALPORT_HEADERS
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/IProtocolParser.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPort.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortBase.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortHotPlug.hpp
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortHotPlug_linux.hpp
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortHotPlug_mac.hpp
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortHotPlug_win.hpp
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortInfo.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortInfoBase.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortInfoUnixBase.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortInfoWinBase.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortListener.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortUnixBase.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPortWinBase.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPort_global.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/SerialPort_version.h
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/ibuffer.hpp
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/ilog.hpp
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/ithread.hpp
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/itimer.hpp
    ${CMAKE_CURRENT_LIST_DIR}/cserialport/iutils.hpp
)

source_group("cserialport Headers" FILES ${CSERIALPORT_HEADERS})